﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_HRM_WORKData : MarshalByRefObject, IHRM_WORKData
    {
        HRM_WORKData HRM_WORK = new HRM_WORKData();
        
        public int HRM_WORK_Delete(Guid WorkID)
        {
            return HRM_WORK.HRM_WORK_Delete(WorkID);
        }
        public int HRM_WORK_Disable(Guid WorkID, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet HRM_WORK_Get(Guid WorkID)
        {
            return HRM_WORK.HRM_WORK_Get(WorkID);    
        }
        public System.Data.DataSet HRM_WORK_GetList()
        {
            return HRM_WORK.HRM_WORK_GetList();
        }
        public int HRM_WORK_Insert(Guid WorkID, string EmployeeCode, string Deliverer, string Work, string Priority, DateTime BeginDate, DateTime EndDate, int Status, double Complete, decimal Cost, string Description)
        {
            return HRM_WORK.HRM_WORK_Insert(WorkID,EmployeeCode,Deliverer,Work,Priority,BeginDate,EndDate,Status,Complete,Cost,Description);
        }
        public int HRM_WORK_Save(Guid WorkID, string EmployeeCode, string Deliverer, string Work, string Priority, DateTime BeginDate, DateTime EndDate, int Status, double Complete, decimal Cost, string Description)
        {
            return HRM_WORK.HRM_WORK_Save(WorkID, EmployeeCode, Deliverer, Work, Priority, BeginDate, EndDate, Status, Complete, Cost, Description);
        }
        public int HRM_WORK_Update(Guid WorkID, string EmployeeCode, string Deliverer, string Work, string Priority, DateTime BeginDate, DateTime EndDate, int Status, double Complete, decimal Cost, string Description)
        {
            return HRM_WORK.HRM_WORK_Update(WorkID, EmployeeCode, Deliverer, Work, Priority, BeginDate, EndDate, Status, Complete, Cost, Description);
        }
    }
}
